/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lenovo
 * Date: 2025-03-25
 * Time: 7:27
 */
// 正确：声明为抽象类，允许未实现 sleep()
public abstract class Dog implements Animal {
    @Override
    public void eat() {
        System.out.println("狗在吃骨头");
    }
    // 未实现 sleep()，但类标记为 abstract
}